//
//  TRTransitionDelegateHandler.h
//  TRNavigationBar
//

#import <UIKit/UIKit.h>
#import "TRPushAnimatedTransition.h"
#import "TRPopAnimatedTransition.h"

NS_ASSUME_NONNULL_BEGIN

@interface TRNavigationControllerDelegateHandler : NSObject<UINavigationControllerDelegate>
/// 当前处理的导航控制器
@property (nonatomic, weak) UINavigationController *navigationController;

/// 手势处理
/// @param gesture 手势
- (void)panGestureAction:(UIPanGestureRecognizer *)gesture;

@end

@interface TRGestureRecognizerDelegateHandler : NSObject<UIGestureRecognizerDelegate>

/// 当前处理的导航控制器
@property (nonatomic, weak) UINavigationController *navigationController;

/// 系统返回手势的target
@property (nonatomic, weak) id systemTarget;

/// 自定义返回手势的target
@property (nonatomic, weak) TRNavigationControllerDelegateHandler *customTarget;

@end

NS_ASSUME_NONNULL_END
